Atum\Dashboard\WidgetHelpers B

Total Complexity 91
Dependencies 6
Dependents 14
Total lines 988
Lines of code 494
Logical lines of code 254
Comment lines 286
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
get_sales_stats()
B
43 20 41
get_stock_levels()
A
35 9 91
get_items_in_stock()
A
32 7 118
product_types_dropdown()
A
45 8 38
get_sales_chart_data()
A
48 8 32
get_promo_sales_chart_data()
S
50 6 27
get_orders_chart_data()
S
49 6 27
get_promo_sales_stats()
S
55 6 19
format_counters_items_in_stock()
S
52 5 25
get_children()
S
47 4 34
get_chart_data_period()
S
55 5 17
get_orders_stats()
S
59 4 13
get_date_period()
S
69 1 6
atum_product_data_query_clauses()
S
79 1 3
wc_product_data_query_clauses()
S
78 1 3